package br.com.lavitstudio.game;

import java.awt.Graphics;
import java.util.Random;

public class mob_Animal extends Mob{
	public mob_Animal(int type) {
		super(new Random().nextInt((Level.worldW - 2) * Tile.tileSize) + Tile.tileSize + 30, 50, Tile.tileSize, Tile.tileSize, mobType(type), Tile.tile_mobAnimal, 2, 1);
	}
	
	public static int[] mobType(int type){
		int[] mobTile = Tile.mob_Animal001;
		switch (type) {
		case 1:
			mobTile = Tile.mob_Animal001;
			break;
		case 2:
			mobTile = Tile.mob_Animal002;
			break;
		}
		
		return mobTile;
	}
	
	public void tick() {
		super.tick();
	}
	
	public void render(Graphics g) {
		super.render(g);
	}
}